package tech.edwardvan.clouda;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 项目启动入口
 * <p>
 * 添加链路跟踪
 * -javaagent:文件路径\skywalking-agent.jar -Dskywalking.agent.service_name=cloud-a -Dskywalking.collector.backend_service={docker.server.ip}:11800 -Xms100m -Xmx150m -Dserver.port=7000
 *
 * @author EdwardVan
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "tech.edwardvan.*.client")
public class CloudAApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudAApplication.class, args);
    }

}
